var myApp = angular.module('myApp', [],['$compileProvider',function ($compileProvider) {

    console.log($compileProvider);

    $compileProvider.directive('customTags',function () {
        return {
            restrict:'ECAM',
            //template：如果匹配正确就会进行替换
            template:'<div>custom-tags-html</div>',
            replace : true
        };
    })


}])
    
